package com.basic.business.declineBacklog.domain;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.basic.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 下滑预警待办事项对象 t_decline_backlog
 *
 * @author zhaoxy_jn@163.com
 * @date 2025-07-24
 */
@Getter
@Setter
@ExcelIgnoreUnannotated
public class TDeclineBacklog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 店铺id
     */
    @ExcelProperty(value = "店铺id")
    private String storeId;

    /**
     * 商品id
     */
    @ExcelProperty(value = "商品id")
    private String goodsId;

    /**
     * 商品标签
     */
    @ExcelProperty(value = "商品标签")
    private String goodsLabel;

    /**
     * 支付金额
     */
    @ExcelProperty(value = "支付金额")
    private BigDecimal payAmount;

    /**
     * 支付金额增降
     */
    @ExcelProperty(value = "支付金额增降")
    private String amountCrease;

    /**
     * 支付买家数
     */
    @ExcelProperty(value = "支付买家数")
    private Integer payBuyerNumber;

    /**
     * 支付买家数增降
     */
    @ExcelProperty(value = "支付买家数增降")
    private String payBuyerCrease;

    /**
     * 商品访客数
     */
    @ExcelProperty(value = "商品访客数")
    private Integer goodsVisitorNumber;

    /**
     * 商品访客数增降
     */
    @ExcelProperty(value = "商品访客数增降")
    private String goodsVisitorCrease;

    /**
     * 商品转化率
     */
    @ExcelProperty(value = "商品转化率")
    private String goodsPayConversionRatio;

    /**
     * 推广占比
     */
    @ExcelProperty(value = "推广占比")
    private Double promotionRatio;

    /**
     * 推广投产比
     */
    @ExcelProperty(value = "推广投产比")
    private Double promotionRoi;

    /**
     * 行动点
     */
    @ExcelProperty(value = "行动点")
    private String actionPoint;

    /**
     * 负责人id
     */
    @ExcelProperty(value = "负责人id")
    private Long leaderId;

    /**
     * 负责人
     */
    @ExcelProperty(value = "负责人")
    private String leaderName;

    /**
     * 优化动作
     */
    @ExcelProperty(value = "优化动作")
    private String optimizeActions;

    /**
     * 优化时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "优化时间")
    private Date optimizeTime;

    /**
     * 优化时长(小时)
     */
    @ExcelProperty(value = "优化时长(小时)")
    private Double optimizationDuration;

    /**
     * 优化评价结果
     */
    @ExcelProperty(value = "优化评价结果")
    private String optimizeResult;

    /**
     * 优化状态(0待优化 1已优化)
     */
    @ExcelProperty(value = "优化状态(0待优化 1已优化)")
    private Integer optimizeStatus;

    /**
     * 状态 正常：NORMAL 删除：DELETED 锁定：LOCKED
     */
    @ExcelProperty(value = "状态 正常：NORMAL 删除：DELETED 锁定：LOCKED")
    private String status;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 部门ID
     */
    @ExcelProperty(value = "部门ID")
    private Long deptId;

    /** 商品图片 */
    @ExcelProperty(value = "商品主图")
    private String imgUrl;

}
